<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>3D展示</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <style>
        body {
            background-color: #000000;
            margin: 0;
            cursor: move;
            overflow: hidden;
        }
        .surface { width: 1026px; height: 1026px; background-size: cover; position: absolute; }
        .surface .bg { position: absolute; width: 1026px; height: 1026px; }

        .m{
            width: 200px;
            padding: 20px;
            position: fixed;
            z-index: 999;
            font-weight: bold;
            color: #FFFFFF;
        }
    </style>
</head>
<body>
<!--<div class="m"><a href="index.html" style="text-decoration: none; color: white;">返回</a></div>-->
<div>
    <div id="surface_0" class="surface">
        <!-- 右面图片-->
        <img class="bg" th:src="@{images/right.jpg}" alt="">
    </div>
    <div id="surface_1" class="surface">
        <!-- 左面图片-->
        <img class="bg" th:src="@{images/left.jpg}" alt="">
    </div>
    <div id="surface_2" class="surface">
        <!-- 上面图片-->
        <img class="bg" th:src="@{images/on.jpg}" alt="">
    </div>
    <div id="surface_3" class="surface">
        <!-- 下面图片-->
        <img class="bg" th:src="@{images/bottom.jpg}" alt="">
    </div>
    <div id="surface_4" class="surface">
        <!-- 前面图片-->
        <img class="bg" th:src="@{images/back.jpg}" alt="">
    </div>
    <div id="surface_5" class="surface">
        <!-- 后面图片-->
        <img class="bg"  th:src="@{images/ahead.jpg}" alt="">
    </div>
</div>
<script src="https://cdn.bootcss.com/three.js/r71/three.min.js"></script>
<script th:src="@{~/js/CSS3DRenderer.min.js}"></script>
<script  th:src="@{~/js/index.js}"></script>
</body>
</html>

